package monster.comm.log;
import org.apache.commons.logging.LogFactory;
/**
 * log的调用类
 * @author Administrator
 * org.apache.commons.logging.Log log=jxgc.mh.util.LogService.getLog(this);
 */
public class LogService {
	/**
	 * 
	 * @param o
	 * @return
	 */
	public static ILog getLog(Object o){
		ILog log = new MonLog(LogFactory.getLog(o.getClass()));
		return  log; //日志
	}
	public static ILog getLog(Class ClassName){
		ILog log = new MonLog(LogFactory.getLog(ClassName));
		return  log;
	}
}
